﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _8Group.MES.Model.DV设备管理
{
    /// <summary>
    /// 设备点检记录行表模型类
    /// </summary>
    public class DV_Check_Record_Line : Entity<int>
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        public string RecordId { get; set; } = string.Empty;

        /// <summary>
        /// 项目ID
        /// </summary>
        public int SubjectId { get; set; }

        /// <summary>
        /// 项目编码
        /// </summary>
        public string SubjectCode { get; set; } = string.Empty;

        /// <summary>
        /// 项目名称
        /// </summary>
        public string SubjectName { get; set; } = string.Empty;

        /// <summary>
        /// 项目类型
        /// </summary>
        public string? SubjectType { get; set; } = string.Empty;

        /// <summary>
        /// 项目内容
        /// </summary>
        public string? SubjectContent { get; set; } = string.Empty;

        /// <summary>
        /// 标准
        /// </summary>
        public string? SubjectStandard { get; set; } = string.Empty;

        /// <summary>
        /// 点检结果（NORMAL：正常；ISSUE：异常但不影响使用；MALFUNCTION：异尝NA：不适用；REPAIRING：待修；UNUSED：闲置）
        /// </summary>
        public string CheckStatus { get; set; } = "NORMAL";

        /// <summary>
        /// 问题描述
        /// </summary>
        public string? CheckResult { get; set; } = string.Empty;

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; } = string.Empty;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
